
/**
 * 默认的bootstrap-table 行内的操作按钮  | 编辑 | 删除 
 */
function pendingOperate(value, row, index, field) {
	let html =	"";
	if(row.status=='1'){
		html = "<a href=\"javascript:viewForm('"+row.id+"','CarApply','"+row.processName+"');\"><i class='mdi mdi-tooltip-edit'></i></a>";
	}else{
		html=defaultOperate(value, row, index, field);
	
	}
	return html;
}

function viewForm(id,key,processName){
	debugger;
	common.addTab('/flow/'+key+'/pdfForm?id='+id+'&key='+key,processName+"预览", id); 
}